package com.situation.pojo.DO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * (TbDepartmentService)实体类
 *
 * @author makejava
 * @since 2021-12-06 19:39:25
 */
@Data
public class TbDepartment implements Serializable {
    private static final long serialVersionUID = 651193511749476497L;
    
    private Long id;
    /**
    * 系名
    */
    private String name;
    /**
    * 系办公电话
    */
    private String phone;
    /**
    * 办公室地点
    */
    private String address;
    /**
    * 创建时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**
    * 修改时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime modifiedTime;


}